package com.usian.service;

import com.usian.pojo.Team;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Email 2781921355@qq.com
 * @Author 马忠豪
 * @Date 2023/8/22 11:10
 */
@FeignClient(value = "day141")
public interface TestService {
    @RequestMapping("consumer/getCToken")
    public String getCToken(@RequestParam(value = "consumerName") String consumerName, @RequestParam(value = "password") String password);
    @RequestMapping("consumer/getNumber")
    public  Integer getNumber();
    @RequestMapping("ConComTea/getCanNum")
    public Integer getCanNum(@RequestParam(value = "token") String token);
    @RequestMapping("team/getTeam")
    public List<Team> getTeam();
    @RequestMapping("ConComTea/addOrUp")
    public void addOrUp(@RequestParam("id") Integer id, @RequestParam("token") String token);
    @RequestMapping("ConComTea/getkanNumbe")
    public Integer getkanNumbe();
    @RequestMapping("ConComTea/getTeamName")
    public String getTeamName(@RequestParam("token") String token);

}
